Create the following tables in the Northwind database:Regions table Column Name Datatype Primary Key (Y/N) Nullable (Y/N) RegionID Integer Y N RegionDescription Character (50) N N Departments table Column Name Datatype Primary Key (Y/N)
- Create the following tables in the Northwind database:
- Regions table
Column Name
Datatype
Primary Key (Y/N)
Nullable (Y/N)
RegionID
Integer
Y
N
RegionDescription
Character (50)
N
N
- Departments table
Column Name
Datatype
Primary Key (Y/N)
Nullable (Y/N)
DepartmentID
Integer
Y
N
DepartmentDescription
Character (50)
N
N
- Regions table
- Insert the following data into the 2 tables:
- Regions table
1
Eastern
2
Western
3
Northern
4
Southern
- Departments table
10
CEO
20
Sales
30
Marketing
- Regions table
- Alter the Employees table, and add a column:
- Employees table
Column Name
Datatype
Primary Key (Y/N)
Nullable (Y/N)
DepartmentID
Integer
N
Y
- Employees table
- Alter the Employee table to establish a foreign key between Employees and Departments.
- Employees.DepartmentID references Departments.DepartmentID
- Alter the Territories table to establish a foreign key between Territories and Regions.
- Territories.RegionID references Regions.RegionID
- Update the data in the Employees table so that employees with the following managers are listed as working in the following departments:
ReportsTo
Department
Andrew Fuller
Sales
Steven Buchanan
Marketing
All Others
CEO
12 years ago
20
Answer(0)
Bids(1)
other Questions(10)
- DQ's - Behavior modification
- Finite Mathematics help
- Entity Relationship Modeling
- The Short Story and Poem: A Comparison of Literary Forms
- Write an essay of 750-1,000 words in which you reflect on the rights and freedoms guaranteed to you as an American citizen in the Bill of Rights. Include the following: Discuss which freedom guaranteed to you in the First Amendment to the Constitutio
- PSYCH/626 PSYCH 626 PSYCH626 Week 2 Individual Assignment - Biopsychosocial Perspective Paper - A+ & Original Guaranteed!
- Assignment
- help intelipath
- Management Plan Example needed in 2-3 hours
- Bus 508 Assignment 1 – Economics and Ethical Issues